﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_notification.ascx.cs" Inherits="BoxScore.compartidas._notification" %>

<asp:HiddenField ID="idNotificacion" runat="server" />

<asp:DetailsView ID="DetailsView1" runat="server"
    DataSourceID="ObjectDataSource1" AutoGenerateRows="False">
    <Fields>
        <asp:TemplateField ShowHeader="False">
            <ItemTemplate>
                <div class="entry">
	<h3>
        <asp:Label ID="Label1" runat="server" Text='<%# Eval("title", "{0}") %>'></asp:Label>
    </h3>
        <asp:Label ID="Label3" runat="server" 
            Text='<%# Eval("publishDate", "{0:d}") %>' style="font-style: italic"></asp:Label>

	<p>
        <asp:Label ID="Label2" runat="server" Text='<%# Eval("descripcion", "{0}") %>'></asp:Label>
	
	</p>
	<%--<p class="links"><a href="#" class="more">&laquo;&laquo;&nbsp;&nbsp;Read More&nbsp;&nbsp;&raquo;&raquo;</a></p>--%>
						
</div>
            </ItemTemplate>
        </asp:TemplateField>
    </Fields>
</asp:DetailsView>



<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
    SelectMethod="getNotificacionById" TypeName="BoxScore.Model.BoxScoreBD">
    <SelectParameters>
        <asp:ControlParameter ControlID="idNotificacion" DefaultValue="1" Name="id" 
            PropertyName="Value" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>


						
